<?php
namespace app\model;

class OrderDetailsModel extends BaseModel{

    protected $table = 'rl_order_details';

    public function getGoodsDetailsAttribute($value)
    {
        return $value?json_decode($value,true):[];
    }

    public function getJoinDetailsAttribute($value)
    {
        return $value?json_decode($value,true):[];
    }

    public function getCouponDetailsAttribute($value)
    {
        return $value?json_decode($value,true):[];
    }

    public function getAssemblyDetailsAttribute($value)
    {
        return $value?json_decode($value,true):[];
    }

}